package com.kevin.utility.entity;

import com.kevin.utility.common.DateUtils;

/**
 * 适配短信接口JSON格式实体
 * 
 * @author juntao.lai
 * @since 2015年1月13日
 *
 */
public class MessageRequest {
    
    public MessageRequest(String type, String phoneNo, String content){
        this.type = type;
        this.event = 1;
        this.eventTime = 60;
//        this.sms = new MessageRequestDetail(phoneNo, content, DateUtils.format(DateUtils.DEFAULT_FORMAT));
    }
    
    private String type;
    private int event;
    private int eventTime;
    private MessageRequestDetail sms;
    
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public int getEvent() {
        return event;
    }
    public void setEvent(int event) {
        this.event = event;
    }
    public int getEventTime() {
        return eventTime;
    }
    public void setEventTime(int eventTime) {
        this.eventTime = eventTime;
    }
    public MessageRequestDetail getSms() {
        return sms;
    }
    public void setSms(MessageRequestDetail sms) {
        this.sms = sms;
    }
}
